#pragma once
#include "TSingle.h"
#include "ParticleEmitterType.h"

namespace mini
{
	class CParticleEmitterFactory : public TSingle<CParticleEmitterFactory>
	{
	public:
		CParticleEmitterFactory();
		virtual ~CParticleEmitterFactory();
		CParticleEmitterType* createEmitterFun(const std::string& szInfo);

	private:
		std::map<std::string, CParticleEmitterType*> mEmits;
	};
}